<?php
$viewdefs ['Contacts'] = 
array (
  'EditView' => 
  array (
    'templateMeta' => 
    array (
      'form' => 
      array (
        'hidden' => 
        array (
          0 => '<input type="hidden" name="opportunity_id" value="{$smarty.request.opportunity_id}">',
          1 => '<input type="hidden" name="case_id" value="{$smarty.request.case_id}">',
          2 => '<input type="hidden" name="bug_id" value="{$smarty.request.bug_id}">',
          3 => '<input type="hidden" name="email_id" value="{$smarty.request.email_id}">',
          4 => '<input type="hidden" name="inbound_email_id" value="{$smarty.request.inbound_email_id}">',
        ),
      ),
      'maxColumns' => '2',
      'widths' => 
      array (
        0 => 
        array (
          'label' => '10',
          'field' => '30',
        ),
        1 => 
        array (
          'label' => '10',
          'field' => '30',
        ),
      ),
      'includes' => 
      array (
        0 => 
        array (
          'file' => 'custom/include/js/jquery.js',
        ),
        1 => 
        array (
          'file' => 'custom/modules/Contacts/js/contacts_edit.js',
        ),
      ),
      'useTabs' => false,
      'syncDetailEditViews' => false,
    ),
    'panels' => 
    array (
      'lbl_contact_information' => 
      array (
        0 => 
        array (
          0 => 
          array (
            'name' => 'cifnumber',
            'label' => 'LBL_CIFNUMBER',
          ),
        ),
        1 => 
        array (
          0 => 
          array (
            'name' => 'first_name',
            'customCode' => '{html_options name="salutation" id="salutation" options=$fields.salutation.options selected=$fields.salutation.value}&nbsp;<input name="first_name"  id="first_name" size="25" maxlength="25" type="text" value="{$fields.first_name.value}">',
          ),
          1 => 
          array (
            'name' => 'last_name',
          ),
        ),
        2 => 
        array (
          0 => 
          array (
            'name' => 'doe_day',
            'comment' => 'The birthdate of the contact',
            'label' => 'LBL_BIRTHDATE',
            'customCode' => '{html_options name="doe_day" id="doe_day" options=$fields.doe_day.options selected=$fields.doe_day.value} {html_options name="doe_month" id="doe_day" options=$fields.doe_month.options selected=$fields.doe_month.value} <input type="text" name="doe_year" id="doe_year" size="5" value="{$fields.doe_year.value}"/>  <span class="dateFormat">(dd/mm/yyyy)</span> ',
          ),
          1 => 
          array (
            'name' => 'gender',
            'label' => 'LBL_GENDER',
          ),
        ),
        3 => 
        array (
          0 => 
          array (
            'name' => 'taikhoan',
            'label' => 'LBL_TAIKHOAN',
          ),
          1 => 
          array (
            'name' => 'ngaymotaikhoan',
            'label' => 'LBL_NGAYMOTAIKHOAN',
            'displayParams' => 
            array (
              'showFormats' => true,
            ),
          ),
        ),
        4 => 
        array (
          0 => 
          array (
            'name' => 'title',
            'comment' => 'The title of the contact',
            'label' => 'LBL_TITLE',
          ),
          1 => 
          array (
            'name' => 'phone_mobile',
            'comment' => 'Mobile phone number of the contact',
            'label' => 'LBL_MOBILE_PHONE',
          ),
        ),
        5 => 
        array (
          0 => 
          array (
            'name' => 'nghenghiep',
            'label' => 'LBL_NGHENGHIEP',
          ),
          1 => 
          array (
            'name' => 'congty',
            'label' => 'LBL_CONGTY',
          ),
        ),
        6 => 
        array (
          0 => 
          array (
            'name' => 'diemxephang',
            'label' => 'LBL_DIEMXEPHANG',
          ),
          1 => 
          array (
            'name' => 'loaikhachhang',
            'label' => 'LBL_LOAIKHACHHANG',
          ),
        ),
        7 => 
        array (
          0 => 
          array (
            'name' => 'email1',
            'studio' => 'false',
            'label' => 'LBL_EMAIL_ADDRESS',
          ),
        ),
        8 => 
        array (
          0 => 
          array (
            'name' => 'description',
            'label' => 'LBL_DESCRIPTION',
          ),
          1 => 
          array (
            'name' => 'primary_address_street',
            'hideLabel' => true,
            'type' => 'address',
            'displayParams' => 
            array (
              'key' => 'primary',
              'rows' => 2,
              'cols' => 30,
              'maxlength' => 150,
            ),
          ),
        ),
        9 => 
        array (
          0 => 
          array (
            'name' => 'danhgiachung',
            'label' => 'LBL_DANHGIA',
          ),
          1 => 
          array (
            'name' => 'ghichu',
            'label' => 'LBL_GHICHU',
          ),
        ),
        10 => 
        array (
          0 => 
          array (
            'name' => 'chuthe',
            'label' => 'LBL_CHUTHE',
          ),
          1 => 
          array (
            'name' => 'sothich',
            'label' => 'LBL_SOTHICH',
          ),
        ),
      ),
      'LBL_PANEL_ADVANCED' => 
      array (
        0 => 
        array (
          0 => 
          array (
            'name' => 'taikhoanthe',
            'label' => 'LBL_TAIKHOANTHE',
          ),
          1 => '',
        ),
        1 => 
        array (
          0 => 
          array (
            'name' => 'tongsothe',
            'label' => 'LBL_TONGSOTHE',
          ),
          1 => 
          array (
            'name' => 'loaithe',
            'label' => 'LBL_LOAITHE',
          ),
        ),
        2 => 
        array (
          0 => 
          array (
            'name' => 'hinhthucphathanh',
            'label' => 'LBL_HINHTHUCPHATHANH',
          ),
          1 => 
          array (
            'name' => 'nguoibaolanh',
            'label' => 'LBL_NGUOIBAOLANH',
          ),
        ),
        3 => 
        array (
          0 => 
          array (
            'name' => 'phongphathanh',
            'label' => 'LBL_PHONGPHATHANH',
          ),
          1 => 
          array (
            'name' => 'hanmucthe',
            'label' => 'LBL_HANMUCTHE',
          ),
        ),
        4 => 
        array (
          0 => 
          array (
            'name' => 'hinhthucnhansaoke',
            'label' => 'LBL_HINHTHUCNHANSAOKE',
          ),
          1 => 
          array (
            'name' => 'phuongthucthanhtoanduno',
            'label' => 'LBL_PHUONGTHUCTHANHTOAN',
          ),
        ),
      ),
      'LBL_PANEL_ASSIGNMENT' => 
      array (
        0 => 
        array (
          0 => 
          array (
            'name' => 'assigned_user_name',
            'label' => 'LBL_ASSIGNED_TO_NAME',
          ),
        ),
      ),
    ),
  ),
);
?>
